Skip to content

dtoverlays: Fix noints mode of mcp23017 - #6174

Merged
pelwell merged 1 commit into
raspberrypi:rpi-6.6.yfrom
6by9:rpi-6.6.y-dt
May 16, 2024
Merged

pelwell merged 1 commit into
raspberrypi:rpi-6.6.yfrom
6by9:rpi-6.6.y-dt

Conversation

@6by9

@6by9 6by9 commented May 16, 2024

Copy link
Copy Markdown
Contributor

noints mode disables 2 fragments that configure a GPIO to be used for the interrupt line from the MCP23017, but fails to remove the pinctrl-0 reference or pinctrl-names. It therefore fails to load due to an invalid phandle.

Move the pinctrl-0 and pinctrl-names properties so they also get disabled by the noints override.

https://forums.raspberrypi.com/viewtopic.php?t=370907

Draft awaiting confirmation from OP that it works.

noints mode disables 2 fragments that configure a GPIO to
be used for the interrupt line from the MCP23017, but fails
to remove the pinctrl-0 reference or pinctrl-names.
It therefore fails to load due to an invalid phandle.

Move the pinctrl-0 and pinctrl-names properties so they
also get disabled by the noints override.

https://forums.raspberrypi.com/viewtopic.php?t=370907

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9
6by9 marked this pull request as ready for review May 16, 2024 18:34
@6by9

6by9 commented May 16, 2024

Copy link
Copy Markdown
Contributor Author

Found my MCP23017 and verified that it loads with the noints override, although mine is on i2c-1 instead of i2c-10.

@pelwell
pelwell merged commit 384ad7f into raspberrypi:rpi-6.6.y May 16, 2024
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 20, 2024
kernel: RGB order override for DPI
See: raspberrypi/linux#6156

kernel: Minor panel fixups
See: raspberrypi/linux#6176

kernel: dtoverlays: Fix noints mode of mcp23017
See: raspberrypi/linux#6174

kernel: DTS: bcm2712: set nonzero QoS values for PCIE1
See: raspberrypi/linux#6171

kernel: staging: bcm2835_codec: Pass framerate to the component if set late
See: raspberrypi/linux#6108

kernel: spi: dw: Handle any number of gpiod CS lines
See: raspberrypi/linux#6161
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request May 20, 2024
kernel: RGB order override for DPI
See: raspberrypi/linux#6156

kernel: Minor panel fixups
See: raspberrypi/linux#6176

kernel: dtoverlays: Fix noints mode of mcp23017
See: raspberrypi/linux#6174

kernel: DTS: bcm2712: set nonzero QoS values for PCIE1
See: raspberrypi/linux#6171

kernel: staging: bcm2835_codec: Pass framerate to the component if set late
See: raspberrypi/linux#6108

kernel: spi: dw: Handle any number of gpiod CS lines
See: raspberrypi/linux#6161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants